//
//  TTConstUrl.swift
//  TianTianBiTing
//
//  Created by Gox mac 2 on 2018/12/18.
//  Copyright © 2018 Gox_WallyDiao. All rights reserved.
//

import Foundation
import UIKit
import ObjectiveC

let HTTP = "https://blistening.cn"
//let HTTP = "http://192.168.1.194:8083"
//let HTTP = "http://192.168.1.244:8080/gox-ttbt"
//let HTTP = "https://www.blistening.cn"

//  MARK: - ###### 报表相关接口 ######
let TTURL_Not5LoginInUser = HTTP + "/formResource/not5LoginInUser" //授信后5天未登录用户的表单
let TTURL_ProgramBuy = HTTP + "/formResource/programBuy" //每个栏目的付费
let TTURL_ProgramListen = HTTP + "/formResource/programListen" //栏目当天的收听人数
let TTURL_RegisterUser = HTTP + "/formResource/registerUser" //授信用户数
let TTURL_UserRewardDetail = HTTP + "/formResource/userRewardDetail" //用户奖励明细D

//  MARK: - ###### 订单接口 ######
let TTURL_Buy10Season = HTTP + "/orderResource/buy10Season" //购买后10集
//let TTURL_ExchangeRate = HTTP + "/orderResource/exchangeRate" //获取听币人民币汇率
let TTURL_ExchangeRate = HTTP + "/orderResource/exchangeRate4IOS" //获取听币人民币汇率
let TTURL_Order = HTTP + "/orderResource/order" //微信支付：统一下订单
let TTURL_PkgRecord = HTTP + "/orderResource/pkgRecord" //获取红包记录
let TTURL_WalletBalance = HTTP + "/orderResource/walletBalance" //获取用户钱包余额
let TTURL_WalletRecord = HTTP + "/orderResource/walletRecord" //用户购买课程
let TTURL_WalletRecordEvery = HTTP + "/orderResource/walletRecordEvery" //用户分集购买
let TTURL_Withdraw = HTTP + "/orderResource/withdraw" //申请提现
let TTURL_WithdrawCheck = HTTP + "/orderResource/withdrawCheck" //operationWithDraw
let TTURL_WithdrawCheckReject = HTTP + "/orderResource/withdrawCheckReject" //withdrawCheckReject
let TTURL_WxOrderCallBack = HTTP + "/orderResource/wxOrderCallBack" //****不需要前台调用 -- 微信支付回调
let TTURL_MyBuyRecord = HTTP + "/orderResource/myBuyRecord" //已购

//  MARK: - ###### 反馈接口 ######
let TTURL_Feekback = HTTP + "/feekbackResource/feekback" //添加反馈记录

//  MARK: - ###### 分销推广活动 ######
let TTURL_IncomeList = HTTP + "/distributionActivity/IncomeList" //获取日榜、周榜、月榜奖励金提现数据
let TTURL_FindGeneralizeFMO = HTTP + "/distributionActivity/distribution/findGeneralizeFMO" //分销首页，获取用户推广好友列表、我的收益、订单列表
let TTURL_FindIncomeRanking = HTTP + "/distributionActivity/distribution/findIncomeRanking" //查询日榜、周榜、月榜
let TTURL_GeneralizeHome = HTTP + "/distributionActivity/distribution/generalizeHome" //分销首页用户基本信息获取
let TTURL_GetBrokerage = HTTP + "/distributionActivity/distribution/getBrokerage" //获取栏目分销推广佣金
let TTURL_GetBrokerageList = HTTP + "/distributionActivity/distribution/getBrokerageList" //获取栏目分销推广佣金
let TTURL_SaveOrUpdateDistribution = HTTP + "/distributionActivity/distribution/saveOrUpdateDistribution" //订单支付成功后调用1.升级用户等级、2.保存或修改用户分销推广基本数据
let TTURL_SignInList = HTTP + "/activityResource/signInList" //获取预估听币收益

//  MARK: - ###### 活动接口 ######
let TTURL_EstimateTing = HTTP + "/activityResource/estimateTing" //获取预估听币收益
let TTURL_PostSignStatus = HTTP + "/activityResource/postSignStatus" //领取奖励金
let TTURL_SignIn = HTTP + "/activityResource/signIn" //签到
let TTURL_SignStatus = HTTP + "/activityResource/signStatus" //获取领取状态
let TTURL_TingExchange = HTTP + "/activityResource/tingExchange" //获取签到天数听币比例
let TTURL_UserInvitation = HTTP + "/activityResource/userInvitation" //邀请好友
let TTURL_UserInvitationList = HTTP + "/activityResource/userInvitationList" //用户邀请用户列表
let TTURL_UserInviteReward = HTTP + "/activityResource/userInviteReward" //获取要邀请好友天数奖励
let TTURL_ValidatorSign = HTTP + "/activityResource/validatorSign" //校验当天是否有签到资格
let TTURL_WakeUser = HTTP + "/activityResource/wakeUser" //获取邀请唤醒用户
let TTURL_CurrentDaySignIn = HTTP + "/activityResource/currentDaySignIn" //当天是否签到
let TTURL_SignInRecord = HTTP + "/activityResource/signInRecord" //签到

//  MARK: - ###### 活动三和活动四  ######
let TTURL_AllListenRank = HTTP + "/hd/allListenRank" //所有用户的收听排行
let TTURL_Length = HTTP + "/hd/find/listen/length" //查询收听时长根据
let TTURL_Random = HTTP + "/hd/listen/classify/random" //听栏目找红包
let TTURL_Savetb = HTTP + "/hd/listen/classify/random/savetb" //听栏目领取红包
let TTURL_Honbao = HTTP + "/hd/listen/honbao" //保存收听时长
let TTURL_UserGroupRank = HTTP + "/hd/userGroupRank" //获取用户组成员排名

//  MARK: - ###### 额外  ######
let TTURL_Resources = HTTP + "/resourcesResource/resources" //获取用户组成员排名
let TTURL_PayWaiterWXPic = HTTP + "/resourcesResource/payWaiterWXPic" //获取WX客服

//  MARK: - ###### 栏目资源 ######
let TTURL_AllCategoryProgram = HTTP + "/programResource/AllCategoryProgram" //获取所有类别下栏目
let TTURL_BannerList = HTTP + "/programResource/bannerList" //获取banner列表
let TTURL_BatchSeasons = HTTP + "/programResource/batchSeasons" //批量购买获取批次
let TTURL_CateBannerList = HTTP + "/programResource/cateBannerList" //获取栏目banner列表
let TTURL_CommonBannerList = HTTP + "/programResource/commonBannerList" //获取不同栏目banner列表
let TTURL_Category = HTTP + "/programResource/category" //获取所有类别
let TTURL_ChargeProgram = HTTP + "/programResource/chargeProgram" //获取收费的栏目
let TTURL_Count10Season = HTTP + "/programResource/count10Season" //后10集多少听币
let TTURL_DelHistoryMark = HTTP + "/programResource/delHistoryMark" //删除收藏
let TTURL_FreeProgram = HTTP + "/programResource/freeProgram" //获取免费的栏目
let TTURL_Item = HTTP + "/programResource/item" //获取类目
let TTURL_Mark = HTTP + "/programResource/mark" //记录收藏，历史，已购栏目(**“已购”不可调这个借口，该接口只记录历史、收藏)
let TTURL_MyProgramSharePost = HTTP + "/programResource/myProgramShare" //记录个人分享
let TTURL_MyProgramShareGet = HTTP + "/programResource/myProgramShare" //获取我个人分享的记录
let TTURL_PopularRecord = HTTP + "/programResource/popularRecord" //用户收听节目记录
let TTURL_PopularizeProgram = HTTP + "/programResource/popularizeProgram" //推广栏目列表
let TTURL_HotSort = HTTP + "/programResource/program/hotSort" //根据类别id、热度获取栏目列表
let TTURL_Program = HTTP + "/programResource/program" //获取类别下栏目(不区分免费还是付费)
let TTURL_ProgramDetail = HTTP + "/programResource/programDetail" //获取单个栏目的详情
let TTURL_ProgramShare = HTTP + "/programResource/programShare" //获取分享可领取栏目列表
let TTURL_SaveProgramShareGroup = HTTP + "/programResource/saveProgramShareGroup" //记录个人群分享
let TTURL_ScrolTextList = HTTP + "/programResource/scrolTextList" //获取滚动字幕 **暂时只有假数据
let TTURL_Search = HTTP + "/programResource/search" //搜索(模糊搜索)
let TTURL_Seasons = HTTP + "/programResource/seasons" //获取单个栏目下面所有的集数
let TTURL_ShareCheck = HTTP + "/programResource/shareCheck" //好友帮忙点击记录
let TTURL_ShareProgramDetail = HTTP + "/programResource/shareProgramDetail" //单个分享栏目详情
let TTURL_Status4Mark = HTTP + "/programResource/status4Mark" //获取个人浏览记录/收藏记录
let TTURL_SupportTingCount = HTTP + "/programResource/supportTingCount" //获取听币助力奖励额
let TTURL_DefaultSearchWord = HTTP + "/programResource/defaultSearchWord" //搜索框默认字符
let TTURL_HotSearchWord = HTTP + "/programResource/hotSearchWord" //大家都在搜热词
let TTURL_RecommendProgram = HTTP + "/programResource/record/recommendProgram" //为你推荐
let TTURL_Conform = HTTP + "/programResource/program/conform" //找相似
let TTURL_TopMark = HTTP + "/programResource/topMark" //置顶
let TTURL_Discuss = HTTP + "/programResource/program/discuss" //评论
let TTURL_DiscussDiscussLevel1 = HTTP + "/programResource/program/discussDiscussLevel1" //1评论

//  MARK: - ###### 首页导航栏 ######
let TTURL_FindNavigationCircleList = HTTP + "/navigationCircle/findNavigationCircleList" //获取首页导航栏列表

//  MARK: - ###### 微信相关接口 ######
let TTURL_Gid = HTTP + "/weixinResource/Gid" //根据code获取组id
let TTURL_OpenId = HTTP + "/weixinResource/openId" //获取用户openid并保存、存在就修改
let TTURL_GetSign = HTTP + "/weixinResource/pay/getSign" //微信签名,获取参数签名，并验证是否一致
let TTURL_ToSign = HTTP + "/weixinResource/pay/toSign" //微信支付成功后签名将必要参数返回给三方H5
let TTURL_SignGroup = HTTP + "/weixinResource/signGroup" //用户通过群进入记录

//  MARK: - ###### 消息 ######
let TTURL_CustomerBandingNotice = HTTP + "/customer/customer_banding_notice" //授权通知
let TTURL_CustomerCalNotice = HTTP + "/customer/customer_cal_notice" //日程通知
let TTURL_CustomerLessonNotice = HTTP + "/customer/customer_lesson_notice" //课程通知
let TTURL_CustomerServiceGet = HTTP + "/customer/customer_service" //消息中心token认证
let TTURL_CustomerServicePost = HTTP + "/customer/customer_service" //接收微信消息并发送客服消息
let TTURL_InJoinNotice = HTTP + "/customer/inJoin/notice" //参团通知
let TTURL_IncomeNotice = HTTP + "/customer/income/notice" //收益通知
let TTURL_FormId = HTTP + "/customer/juge/formId" //判断formId
let TTURL_PurchaseNotice = HTTP + "/customer/purchase/notice" //购买通知
let TTURL_RechargeNotice = HTTP + "/customer/recharge/notice" //充值通知
let TTURL_SaveFormId = HTTP + "/customer/save/formId" //保存FormId
let TTURL_SignedNotice = HTTP + "/customer/signed/notice" //签到通知
let TTURL_WithDrawNotice = HTTP + "/customer/withDraw/notice" //提现到账通知
let TTURL_PushMsgList = HTTP + "/userResource/pushMsgList" //消息列表

//  MARK: - ###### 用户相关接口 ######
let TTURL_CheckVerCode = HTTP + "/userResource/checkVerCode" //校验用户验证码
let TTURL_DisableWallet = HTTP + "/userResource/disableWallet" //是否隐藏钱包
let TTURL_Remind = HTTP + "/userResource/remind" //系统是否维护
let TTURL_VerCode = HTTP + "/userResource/verCode" //获取验证码
let TTURL_UserDetailInfo = HTTP + "/userResource/userDetailInfo" //获取验证码
let TTURL_LoginRecord = HTTP + "/userResource/loginRecord" //记录用户登录
let TTURL_OperationRecord = HTTP + "/userResource/operationRecord" //记录用户登录
let TTURL_DiscussProgram = HTTP + "/userResource/discussProgram" //评论

//  MARK: - ###### 新接口 ######
let TTURL_Index = HTTP + "/index" 
let TTURL_WXLogin = HTTP + "/app/wx/login"
let TTURL_IDFA = HTTP + "/app/save/device"
let TTURL_CheckPay = HTTP + "/app/ios/verify/pay"
let TTURL_isMark = HTTP + "/programResource/isMark"
let TTURL_totalSeason = HTTP + "/programResource/totalSeason"
let TTURL_IOSAudit = HTTP + "/trueOrFalseResource/IOSAudit"

//  MARK: - ###### 开关接口 ######
let TTURL_WelfareItem = HTTP + "/trueOrFalseResource/welfareItem"

//  MARK: - ###### 极光接口 ######
let TTURL_UpdateJPushId = HTTP + "/JPushResource/updateJPushId"
